<% istyle = 'float:right;border:1px solid #AAA;' %>

<table width="100%">
<tr style="vertical-align:top;">

<td>
<h3><%= image_tag('puzzle.png', :style=>"align:left; vertical-align:middle;") %>Demo</h3>
<%=link_to "Log as demo user", :action=>'demo'%>.<br/>
</td>

<td>
<h3><%= image_tag('id_card.png', :style=>"align:left; vertical-align:middle;") %>Signup</h3>
<%=link_to "Sign up", :action=>'signup'%> for a new account.<br/>
</td>

<td>
<h3><%= image_tag('tag.png', :style=>"align:left; vertical-align:middle;") %>    Log in</h3>
<div title="Account login" id="loginform" class="form">
<% form_tag :action=> "login" do %>
	<label for="user_login">Login:</label>
   <input type="text" name="user[login]" id="user_login" size="30" value=""/><br/>
   <label for="user_password">Password:</label>
   <input type="password" name="user[password]" id="user_password" size="30"/><br/>
   <input type="submit" name="login" value="Login &#187;" class="submitbutton" /> <% if @message %><div id="notice"><%= @message %></div><% end %>
<% end %>
</div>
</td>

</tr>
</table>

<h3>Lost password ?</h3>
<p>You are not required to give a email address when you sign up.<br/>
But you can give one later by editing your user information.<br/>
This will enable you to reset your password in case you forget it.<br/>
<br/>
Did you forget your password ?<br/>
Type your email in this form, you will then receive a link by email to reset your password.<br/>
</p>
<% form_remote_tag(:update =>'status',:url => { :action => :send_reset_email }, :loading=>"$('status').innerHTML='Sending...'") do %>
<label for="email">Email:</label>
<%= text_field_tag :email %>
<%= submit_tag "Send &#187;" %>
<% end %>


<div id='status'></div>

<h2>About</h2>
<%= image_tag('ptm-1.png', :style=>istyle) %>

<p>This is PTM, the project and task manager. This online tool will help you organize your projects.</p>
<p>Currently focusing on <a href="http://en.wikipedia.org/wiki/Getting_Things_Done">GTD</a> and <a href="http://en.wikipedia.org/wiki/Project_management">Project Management</a>, PTM is in constant evolution.</p>

<h3>Open source</h3>

<p>This application is entirely free. You can use this site directly or <a href="http://code.google.com/p/rorptm/">download the Rails source code</a>.</p>

<h3>Thanks</h3>
<p>Icons by <a href="http://dryicons.com/">DryIcons</a></p>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

